package com.example.service;

import com.example.entity.SysRole;
import com.example.mapper.SysRoleMapper;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public class SysRoleService {

    final SysRoleMapper roleMapper;

    public SysRoleService(SysRoleMapper roleMapper) {
        this.roleMapper = roleMapper;
    }

    public SysRole selectById(Integer id){
        return roleMapper.selectById(id);
    }
}
